import request from '@/utils/request'

//流量过滤列表
export function fetchList(params) {
	return request({
		url: '/system/flowfilter/list',
		method: 'get',
		params
	})
}

//详情
export function fetchDetail(params) {
	return request({
		url: '/system/flowfilter/query',
		method: 'get',
		params
	})
}

//编辑
export function flowFilterEdit(data) {
	return request({
		url: '/system/flowfilter/update',
		method: 'post',
		data
	})
}

//启用/停用
export function flowFilterUpdateStatus(data) {
	return request({
		url: '/system/flowfilter/updateStatus',
		method: 'post',
		data
	})
}
